package com.web.base.auth.model;

import com.blue.core.dict.State;
import com.blue.jdbc.annotation.Id;
import com.blue.jdbc.annotation.Table;
import com.blue.jdbc.annotation.Transient;

/**
 * 菜单权限实体类
 * 
 * @author 代码由 blue-code 框架生成
 * @since 1.0 2017年04月15日
 */
@Table(name = "auth_menu_auth")
public class MenuAuth
{
	@Id
	private Integer id; // 编号
	private Integer menuId; // 菜单编号
	private String name; // 名称
	private String url; // 地址
	private State state; // 状态：0正常，1作废

	@Transient
	private Integer selected; // 是否关联，0已关联，1未关联

	public MenuAuth()
	{
	}

	public Integer getId()
	{
		return this.id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public Integer getMenuId()
	{
		return this.menuId;
	}

	public void setMenuId(Integer menuId)
	{
		this.menuId = menuId;
	}

	public String getName()
	{
		return this.name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public String getUrl()
	{
		return this.url;
	}

	public void setUrl(String url)
	{
		this.url = url;
	}

	public State getState()
	{
		return state;
	}

	public void setState(State state)
	{
		this.state = state;
	}

	public Integer getSelected()
	{
		return selected;
	}

	public void setSelected(Integer selected)
	{
		this.selected = selected;
	}

}
